var videocontshow = document.querySelector(".video-cont-show>img");
var bombig = document.getElementById("bombig");
var bomcol = document.querySelector(".col");
var bomvideo = document.getElementById("bomvideo");

var grapeshover = document.querySelector("#grapes_hover");
var keepout = document.querySelector("#keepout");
var grapesdiva = document.querySelector("#nav_junp>div:nth-child(2)>a");
var t = 0;
var timer = null;
grapesdiva.onmouseover = function() {
	timer = setInterval(function() {
		if (t < 200) {
			t += 2;
		}
		grapeshover.style.height = t + "px";
		keepout.style.display = "block";
	}, 2)
}
grapesdiva.onmouseout = function() {
	clearInterval(timer);
	t = 0;
	grapeshover.style.height = t + "px";
	keepout.style.display = "none";
}

keepout.onmouseover = function() {
	t = 200;
	keepout.style.display = "block";
	grapeshover.style.height = t + "px";
}
keepout.onmouseout = function() {
		t = 0;
		keepout.style.display = "none";
		grapeshover.style.height = t + "px";
	}
	//视频弹出
videocontshow.onclick = function() {
	bomvideo.style.display = "block";
	bombig.style.display = "block";
}
bomcol.onclick = function() {
	bomvideo.style.display = "";
	bombig.style.display = "";
}